package com.example.lin.day8_30.pojo;

public class Student {
    private int sId;
    private int sAge;
    private String sName;
    private double height;
    private String sex;


    @Override
    public String toString() {
        return "Student{" +
                "sId=" + sId +
                ", sAge=" + sAge +
                ", sName='" + sName + '\'' +
                ", height=" + height +
                ", sex='" + sex + '\'' +
                '}';
    }

    public int getsId() {
        return sId;
    }
    public void setsId(int sId) {
        this.sId = sId;
    }

    public int getsAge() {
        return sAge;
    }

    public void setsAge(int sAge) {
        this.sAge = sAge;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Student(int sAge, String sName, double height, String sex) {
        this.sAge = sAge;
        this.sName = sName;
        this.height = height;
        this.sex = sex;
    }

    public Student(int sId, int sAge, String sName, double height, String sex) {
        this.sId = sId;
        this.sAge = sAge;
        this.sName = sName;
        this.height = height;
        this.sex = sex;
    }
}
